<!DOCTYPE html>
<html>
 <head>
  <meta charset="utf-8">
  <title></title>
  <script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
 <style type="text/css">
 #newslist h1 {
	color: #09F;
}
 </style>
 </head>
 <body>
  <div id="newslist">
   <h1>通知公告</h1>
   <ul>
    <li v-for="title in titles">
     {{title}}
    </li>
    
   </ul>
  </div>
 </body>
 <script>
  var vm=new Vue({
   el:"#newslist",
   data:{
    titles:["33333","12123","3241234","12123","3241234"]
   }   
  });
                    vm.titles=["广东职业技术学院","信息工程系","移动192","Android应用程序设计","网络编程"];
                    var str=obj.getTitles();
					var json=JSON.parse(str);
					vm.titles=json
 </script>
</html>